﻿//SmartAddressComboBox.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Smart.Xaml
{
	using Ecng.Xaml;

	/// <summary>
	/// Выпадающий список для выбора адреса сервера SmartCOM.
	/// </summary>
	public class SmartAddressComboBox : AddressComboBox
	{
		/// <summary>
		/// Создать <see cref="SmartAddressComboBox"/>.
		/// </summary>
		public SmartAddressComboBox()
		{
			AddAddress(SmartAddresses.Major, "Основной");
			AddAddress(SmartAddresses.Demo, "Демо");
			AddAddress(SmartAddresses.Minor, "Резервный");
			AddAddress(SmartAddresses.Stalker, "Сталкер");

			SelectedAddress = SmartAddresses.Major;
		}
	}
}